import numpy as np


a = np.random.randn(4, 5)
b = np.array([[0, 1], [3, 2], [1, 3]])














# def cal_multiplication(m, n):
#     f = 0
#     for i in range(1, m + 1):
#         for j in range(1, n + 1):
#             f = f + i * j
#     print("f =  \sum_{i=1}^{m=3}\sum_{j=1}^{n=4}=m\cdot{n} result: ", f)
#     # f =  \sum_{i=1}^{m=3}\sum_{j=1}^{n=4}=m\cdot{n} result:  60
#     return f
#
#
# def test(ratio=0.96):
#     x = 0
#     for _ in range(10):
#         x += .91 * 1 / 10
#     print('ration: {}'.format(ratio))
#     print('x: {}'.format(x))
#
#
# if __name__ == '__main__':
#     cal_multiplication(m=3, n=4)
#     test()
